package com.gtw;

import com.gtw.strategy.*;

public class Client {

    public static void main(String[] args){
        Strategy strategy1 = new ConcreteStrategy1();
        Strategy strategy2 = new ConcreteStrategy2();
        Context context = new Context(strategy1);
        context.doAnything();

        System.out.println(StrategyEnum.ADD.exec(1,2));
        System.out.println(StrategyEnum.SUB.exec(1,2));
    }
}
